package org.lex.ui;

public class WindowStateSupport {
	public enum WindowState {
		MIN, RESTORE, MAX
	}

	protected WindowState state = null;

	public WindowStateSupport(WindowState initState) {
		this.state = initState;
	}

	public boolean canMoveTo(WindowState to) {
		return to != this.state;
	}
}
